package com.pagoda.nerp.trade.dao;

import com.pagoda.nerp.trade.entity.MdCategory;
import java.util.List;

public interface MdCategoryDao {
    int deleteByPrimaryKey(Integer categoryId);

    int insert(MdCategory record);

    MdCategory selectByPrimaryKey(Integer categoryId);

    List<MdCategory> selectAll();

    int updateByPrimaryKey(MdCategory record);

    List<MdCategory> selectByCategoryId(int categoryId);

}